﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EFFC.Net.Data.Base;

namespace EFFC.Net.Parameters
{
    [Serializable]
    public class OperatorParameters : ParametersStd
    {
        public OperatorParameters()
        {
            AddPElement("User");
            AddPElement("When", typeof(DateTime));
            AddPElement("At");
            AddPElement("What");
        }

        public string User
        {
            get { return GetValue<string>("User"); }
            set { _p["User"].Value = value; }
        }
        public DateTime When
        {
            get { return GetValue<DateTime>("When"); }
            set { _p["When"].Value = value; }
        }
        public string At
        {
            get { return GetValue<string>("At"); }
            set { _p["At"].Value = value; }
        }
        public string What
        {
            get { return GetValue<string>("What"); }
            set { _p["What"].Value = value; }
        }
    }
}
